
from django.urls import path, re_path
from batch_yaml import views

urlpatterns = [
    path('setting_config/', views.SettingConfig),
    path('setting_config_add/', views.SettingConfigAdd),
    re_path('setting_config_detail-(?P<config_id>\d+)/', views.SettingConfigDetail),
    path('nodes_list/', views.NodesList),
    path('namespaces_list/', views.NamespaceList),
    path('pods_list/', views.PodList),
    path('service_list/', views.ServiceList),
    path('yaml_list/', views.YamlList),
    re_path('yaml_detail-(?P<yaml_id>\d+)/', views.YamlDetail),
    path('yaml_add/', views.YamlAdd),
    re_path('yaml_edit-(?P<yaml_id>\d+)/', views.YamlEdit),
    path('yaml_Template_list/', views.YamlTemplateList),
    re_path('yaml_Template_detail-(?P<template_id>\d+)/', views.YamlTemplateDetail),
    path('yaml_Template_add/', views.YamlTemplateAdd),
    re_path('yaml_Template_edit-(?P<template_id>\d+)/', views.YamlTemplateEdit),
    path('yaml_apply/', views.YamlApply),
    path('yaml_update/', views.YamlUpdate),
    path('yaml_delete/', views.YamlDelete),
    path('yaml_ops/', views.YamlOps),
    path('yaml_batch_ops/', views.YamlBatchOps),
]
